
from rest_framework.viewsets import GenericViewSet

from apps.models import Classification, Tag
from apps.serializers.Classification import ClassificationSerializer
from apps.serializers.Tag import TagSerializer
from apps.utils.common_mixin import APIListModelMixin


class TagView(GenericViewSet, APIListModelMixin):
    authentication_classes = []
    permission_classes = []
    queryset = Tag.objects.all()
    serializer_class = TagSerializer
